// -----------------------------------------------------------------------
//  <copyright file="UserRoleInDto.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2025 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025-01-20 10:00</last-date>
// -----------------------------------------------------------------------

namespace DaprPlus.Identity.Application.Identity.Users.Dtos;

/// <summary>
/// 用户角色输入DTO，支持时间控制
/// </summary>
public class UserRoleInDto
{
    /// <summary>
    /// 角色名称
    /// </summary>
    public required string RoleName { get; set; }

    /// <summary>
    /// 生效时间
    /// </summary>
    public DateTime? BeginTime { get; set; }

    /// <summary>
    /// 过期时间
    /// </summary>
    public DateTime? EndTime { get; set; }
}